package com.lightheart.sphr.xiaobinggan.recyclerview;

import com.chad.library.adapter.base.BaseItemDraggableAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.lightheart.sphr.xiaobinggan.R;

import java.util.List;

/**
 * Author :hongliang
 * E-mail : 13717858152@163.com
 * Date   : 2021/3/125:25 PM
 * Desc   :
 * Version: 1.0.0
 */
public class ItemDraggableAdapter extends BaseItemDraggableAdapter<String, BaseViewHolder> {

    public ItemDraggableAdapter(int layoutResId, List<String> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.tv, item);
    }

}
